<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-wdyKline-edit" th:object="${wdyKline}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
				<div class="form-group">	
				<label class="col-sm-3 control-label">开盘价：</label>
				<div class="col-sm-8">
					<input id="open" name="open" th:field="*{open}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">收盘价：</label>
				<div class="col-sm-8">
					<input id="close" name="close" th:field="*{close}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">最低价：</label>
				<div class="col-sm-8">
					<input id="low" name="low" th:field="*{low}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">最高价：</label>
				<div class="col-sm-8">
					<input id="high" name="high" th:field="*{high}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">成交量：</label>
				<div class="col-sm-8">
					<input id="volumn" name="volumn" th:field="*{volumn}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">k线类型（0分，1日)：</label>
				<div class="col-sm-8">
					<input id="lineType" name="lineType" th:field="*{lineType}" class="form-control" type="text">
				</div>
			</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">统计时间：</label>
			<div class="col-sm-8">
				<input id="statsTime"  name="statsTime" th:value="*{#dates.format(statsTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control time-input" type="text">
			</div>
		</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">删除标志（0代表存在 1代表删除）：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" th:field="*{delFlag}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">创建者：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
				</div>
			</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">创建时间：</label>
			<div class="col-sm-8">
				<input id="createTime"  name="createTime" th:value="*{#dates.format(createTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control time-input" type="text">
			</div>
		</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">更新者：</label>
				<div class="col-sm-8">
					<input id="updateBy" name="updateBy" th:field="*{updateBy}" class="form-control" type="text">
				</div>
			</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">更新时间：</label>
			<div class="col-sm-8">
				<input id="updateTime"  name="updateTime" th:value="*{#dates.format(updateTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control time-input" type="text">
			</div>
		</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">备注信息：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
			</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/wdyKline";
		$("#form-wdyKline-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-wdyKline-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
